package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TiNel;
import com.tjmc.tiomscore.model.TiNelExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TiNelMapper {
    long countByExample(TiNelExample example);

    int deleteByExample(TiNelExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TiNel record);

    int insertSelective(TiNel record);

    List<TiNel> selectByExample(TiNelExample example);

    TiNel selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TiNel record, @Param("example") TiNelExample example);

    int updateByExample(@Param("record") TiNel record, @Param("example") TiNelExample example);

    int updateByPrimaryKeySelective(TiNel record);

    int updateByPrimaryKey(TiNel record);

    void truncateTable();

    void insertAllCoreNels();

    void insertAllConvergenceNels();

    void correctConvergenceNelSubnetId();

    void insertAllAccessNels();
}